<?php if(!defined("PATH_HD"))exit;?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="http://localhost/company1/sccms/admin/tpl/source/css/style.css" rel="stylesheet" type="text/css">
</head>

<body>
	<div id="htbody">
    	<span class="httitle">新闻修改</span>
        <div class="addform">
        	<form method="post" action="http://localhost/company1/index.php/admin/news/update">
            	<table border='1' width='720px' cellpadding="0" cellspacing="0">
                	<tr>
                    	<th width="10%">标题：</th>
                    	<td>
                            <input type="hidden" name='nid' value='<?php echo $row['nid'];?>'/>
                            <input type="text" name="title" value='<?php echo $row['title'];?>'></td>
                    </tr>
                    <tr>
                    	<th>内容：</th>
                        <td>
							<script type="text/javascript">HD_UEDITOR_ROOT="http://localhost/company1/hdphp/org/ueditor/";</script><script type="text/javascript" src="http://localhost/company1/hdphp/org/ueditor/editor_config.js"></script>
		<script type="text/javascript" src="http://localhost/company1/hdphp/org/ueditor/editor_all.js"></script>
		<link rel="stylesheet" href="http://localhost/company1/hdphp/org/ueditor/themes/default/ueditor.css"><script type="text/plain" name="content" id="hd_ueditor288" 700px><?php echo $row['content']?></script><script type="text/javascript" >var editorOption = {
                        autoFloatEnabled:false,
                         
                         imageUrl:"http://localhost/company1/index.php/admin/news/ueditorupload",
                         imagePath:"",
                         fileUrl:"http://localhost/company1/index.php/admin/news/ueditorupload",
                         filePath:"",
                         maximumWords:100,
                         minFrameHeight:200
                    };var editor = new baidu.editor.ui.Editor(editorOption);
                    editor.render("hd_ueditor288")</script>
						</td>
                    </tr>
					<tr><td colspan="2" align="center">
							<input type="submit" name="submit" value="修改"/>
						</td>
					</tr>
                </table>
            </form>
        </div>
    </div>
</body>
</html>